import { $post, $fileDownLoad2 } from '@/api/request'
let basic = '/prevention'
// 风险筛查列表-列表
export const getHealthTracking = data => {
  return $post({
    url: `${basic}/antigen/getHealthTracking`,
    data
  })
}

// 下载
export function exportHealthTracking (data) {
  return $fileDownLoad2({
    url: `${basic}/antigen/exportHealthTracking`,
    method: 'POST',
    filename: '健康跟踪数据',
    data
  })
}
// 通知
export function savePreMsgNoticeAppealNotReported (data) {
  return $post({
    url: `${basic}/preventionMsgNotice/savePreMsgNoticeAppealNotReported`,
    data
  })
}
// 健康跟踪-通知
export function notification (data) {
  return $post({
    url: `${basic}/preventionRiskRules/notification`,
    data
  })
}
